<template>
  <div class="show-product-info-list">
    <table-box ref="tableBox" show-index no-request :table-height="150" :data="tableData" :table-config="tableConfig"></table-box>
  </div>
</template>
<script>
export default {
  name: 'ShowProductInfoList',
  props: {
    tableData: {
      type: Array,
      default: () => []
    }
  },
  data() {
    return {
      visible: false,
      tableData1: [],
      tableConfig: {
        interfacePath: '',
        tableIndex: 2,
        setting: [
          {
            label: '产品编码',
            prop: 'productCode'
          },
          {
            label: '产品名称',
            prop: 'productName'
          },
          {
            label: '产品型号',
            prop: 'productCategory'
          },
          {
            label: '处理数量',
            prop: 'handleNum'
          }
        ]
      },
      selectedIds: []
    }
  },
  computed: {
  }
}
</script>
<style lang="scss" scoped>
.show-product-info-list{
  display: inline-block;
  /deep/ span:first-child{
    text-align: left !important;
  }
  /deep/ .el-table__empty-block{
    & > .el-table__empty-text{
      text-align: center !important;
    }
  }
}
</style>
